import { DrawAction } from "@/types/store";

export default function draw(state = {}, action: DrawAction) {
  switch (action.type) {
    case "DRAW_SAVE":
      return {
        ...state,
        list: action.payload,
      };
  }
  return state;
}
